
package com.be.beadmin.device.service;

import com.be.beadmin.common.entity.PageEntity;
import com.be.beadmin.device.dto.output.EnergyInfoEx;
import com.be.beadmin.device.dto.input.EnergyInfoDto;
import com.be.beadmin.device.dto.input.EnergyInfoQueryCriteria;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;
import java.util.List;
import java.io.IOException;
import javax.servlet.http.HttpServletResponse;

/**
* @description 服务接口
* @author chenxu
* @date 2023-08-30
**/
public interface EnergyInfoService {

    /**
    * 分页的查询接口
    * @param pageEntity
    * @return
    */
    Page<EnergyInfoEx> getEnergyInfoByPage(PageEntity pageEntity);

    /**
    * @param energyInfoDto
    */
    void addEnergyInfo(EnergyInfoDto energyInfoDto);

    /**
    * @param energyInfoDto
    */
    void updateEnergyInfo(EnergyInfoDto energyInfoDto);

    /**
    * @param id
    */
    void delEnergyInfo(String id);

    /**
    * 删除多个角色
    * @param ids
    */
    void delEnergyInfos (List<String> ids);


    void uploadEnergyInfo(MultipartFile file);

    String[] getAllDevice();
}